home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Register for Idle < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  733 b   |  [TEXT/ttxt]

  1. Subject:     Register for Idle
  2. Sent:        3/25/96 11:00 PM
  3. Received:    3/26/96 7:01 AM
  4. From:        Karl Jepsen, kjepsen@softsolutions.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. When our part is initialized, we register for idle events with the
  9. RegisterIdle call. When we terminate our part, we get the assert debug
  10. message fIdleCount == 0.  Trying to eliminate this debug message, we called
  11. the UnRegisterIdle method in our part's destructor.  Now we get the debug
  12. message fIdleCount >=1 followed by fIdleCount == 0.  What is the
  13. significant of these assert messages and what is the proper way to handle
  14. unregistering for idle events?
  15.  
  16. Karl Jepsen
  17.  
  18.